package cc.miwuya.property.service;

import cc.miwuya.property.domain.House;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 杩烽浘妫灄
 * @description 针对表【house(楼宇表)】的数据库操作Service
 * @createDate 2024-02-22 19:52:54
 */
public interface HouseService extends IService<House> {

    List<Long> getHouseNumberList(Long residentialId);

    List<House> getUnitNumber(Long residentialId, Long houseNumber);

    Object getRoomNumberList(Page page, Long residentialId, Long houseNumber, Long unitNumber);

    Object getHouseInfoByHouseId(Long houseId);

    Object getHouseAllByResidential(Page page, Long residentialId);

    Object getHouseAllByHouse(Page page, Long residentialId, Long houseId);

    Object getOwnerHouseList(Page page, Long ownerId, Long residentialId);
}
